package testcases;
import ball.Ball;
import manager.Manager;
import junit.framework.TestCase;



public class TestManager extends TestCase{
	public void testisGameOver() {
		 Manager manager= new Manager();
		boolean result = manager.isGameEnd();
		assertEquals(result, false);
	}
	public void testprocess() {
		 Manager manager= new Manager();
		while(!manager.isGameEnd()){
			manager.process(0);
		}
		boolean result = manager.isGameEnd();
		assertEquals(result, true);
	}
	
	

}
